package com.batata.continuing.dao.tree;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.batata.continuing.pojo.tree.TreeInfo;
import com.batata.continuing.pojo.tree.TreeInfoAll;

import java.util.List;

public interface TreeDao extends BaseMapper<TreeInfo> {

    long getTreeCount();

    List<TreeInfoAll> getChildByTreePareatId(String treePareatId);

    int getChildCountByTreePareatId(String treePareatId);

    TreeInfoAll getTreeAllById(String treeId);

}
